package com.njtoyo.taxi.admin.service.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.rest.presenter.business.driver.DriverServiceLogPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.DriverServiceLogQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.DriverServiceLogExportWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface DriverServiceLogsService {
    RestResult<Page<DriverServiceLogPresenter>> dailyWorkingDriver(AdminUser adminUser, DriverServiceLogQueryWrapper wrapper);

    void export(AdminUser adminUser, DriverServiceLogExportWrapper wrapper, HttpServletResponse response) throws IOException;
}
